<?php
include_once("./lib/impl/TagImpl.php");
include_once("./lib/utils/AlgorithmUtils.php");

$oTagImpl = new TagImpl(DB_TAG_COUPON);


$oTags 	= $oTagImpl->getTags(0, 30);

$algorithm = new AlgorithmUtils();

$algorithm->calTagShowFont($oTags);

//$tagStr	= '<tags>';
//foreach ($oTags as $oTag) {
//	$tagStr	.= "<a href='" . HOME_URL . '/' . $oTag->getNameId() . "-coupons-tag' title='" . $oTag->getName();
//	$tagStr	.= "' style='font-size:" . $oTag->getCfontSize() . "pt;'>" . $oTag->getName() . '</a>' . chr(10);
//	
////	$str .= $oTag->getName() . chr(10);
//}
//$tagStr	.= '</tags>';
//
////echo $str;
//
//$tagStr = urlencode($tagStr);


?>
